Corrected typo in diffPhot, changed leastsq tolerances for more consistently successful fits