Fixed some issues with calculation of the torque from the plank itself.