Added Gaussian function data as an output
Cleaned up comments and removed old code