Inertia moment adds calculation of weights and total inertia