Calculations on output pulse shapes, gain pulse profiles, and gain limitation in the CO2 TEA laser