Traction control of an electric vehicle with four in-wheel motors