<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def moment_inertia(self):
 """ The analytic inertia tensor of the sphere primitive. Returns tensor: (3,3) float, 3D inertia tensor """

        tensor = inertia.sphere_inertia(mass=self.volume,
                                        radius=self.primitive.radius)
        return tensor