Fix up the equations a little