A second order method for unconstrained optimization