Updated inertia computation