Sign error in the definition of Hessian

copy and paste!