Model of inverse speed dependent torque.
Parameter TorqueDirection chooses whether direction of torque is the same in both directions of rotation or not. If TorqueDirection = false, regularization near zero speed avoids numerical problems.