Dynamic inertia tensor for a hot rotating nucleus