Creating fitting functions for gaussian plus sloped bkg and make spec_linefit to fit a Gaussian to a spectral line