Calculate Twist Angle