fixed center of gravity and inertia formulas