adding polarization of pulses
adding pulse polarization
adding exception for matplotlib and fourier import