simplify hessian matrix sqrt(x y)