Changed default maxiter for newt_raph to 500