Check user's routine for calculating second derivatives of function
CALL E04HDF(N,FUNCT,HESS,X,G,HESL,LH,HESD,IUSER,LIW,RUSER,LW,IFAIL)