Implement inertia computations.