Added getDet and getTorque for debug