Fixed bug with equations.