fix a bug in inertia tensor approximation scheme