Update methods.cpp

Same resetting of ftol and xtol here ...