moved ftol to parameter class + added support for control of parameter tolerance xtol