added numerical hessian to hessian test, bug in hessian, return -nan