Fast computation of inertia properties through affinely extended Euler tensor