Added ppgauss ability to fit scattering index (somehwat hacky).