Calculating Centers Of Mass And Moments Of Inertia