Calculation of Rotational Inertia