Study of Relativistic Electron Beam Propagation in the Atmosphere-Ionosphere-Magnetosphere