Fix bug in max_torque (forgot std::abs)