Train to learn hessian matrics (of the form Q*D*Q:t() where D is diagonal