Equations for pulse propagation in a free electron laser