Fixed some of the equations