Thermodynamically consistent quasi‐Newton formulae