Fixed several of the equations.