Update methods.cpp

Changed ftol and xtol in nonlinear optimization, I don't really know what makes sense there at the moment, so I put machine precision. Our errors on the sphere are super small anyway.