Minor fix in torque calculation.