where $\vec{D}$ is the three dimensional position vector, $\vec{\theta}$ is the three dimensional rotational, $\vec{P}$ is the three dimensional linear momentum, $\vec{\phi}$ is the rotational momentum. Finally, $m$ is the mass and $I$ is the rotational inertia.