Rewrote equations.