working on psd Hessian