Calculate the moment of inertia for a cone.