Text this: Modelling of free-electron maser based on two-dimensional distributed feedback