Added some Gaussian functionality, still buggy.
The Gaussian beam corrections seem to be working
Finished adding the Gaussian corrections