Adding Hessian Function and hoping it works