adjust laserWavePacket to work with polarization