fix two bugs, set jac_d_constant and hessian_const to no
Merge branch 'master' of https://github.com/frizfealer/IMS_project