added an updated version of the file that writes the gaussian parameters to a .psf file