working on gauss 1d fitter