Analysis and Numerical Calculations of the Beam-Wave Interaction for Gyroklystron Amplifiers