added different error measures to newton solver
In addition to the default |f(x_i)|<tol (old behavior) added |x_i-x_{i-1}|<tol and |x_i-x_{i-1}|/|x_i|<tol) Note: there is only one tolerance at the moment so only criteria can be used at a time. Verbose output is still not perfect.