Fixed some equation stuff.