calculate torso intertias in main.m