X multiplication moved in hessian updated