fix up hessian free optimization