Gain and mode-coupling in a three-dimensional free-electron laser: A generalization of Madey's theorem | IEEE Journals & Magazine | IEEE Xplore