Compute the inertia tensor of a trajectory.
traj : Trajectory
Trajectory to compute inertia tensor of.
I_ab: np.ndarray, shape=(traj.n_frames, 3, 3), dtype=float64
Inertia tensors for each frame.