Changed the fitting to fit the Signal and not the Gaussian amplitude. 

Tests verses the old code show that the fitting now runs faster although
the precision (to X,Y,N) does not change.