removed redundant leastsq fitter calls