Fixed hessian(SXMatrix) implementation exposed due to 74d4a09c9dc66020ad7ab1df6dca2d883d5265ec