In a similar fashion we can define the CoM coordinate $$ \mathbf{R}=\frac{1}{A}\sum_{i=1}^{A}\mathbf{r}_i, $$ and the relative distance $$ \mathbf{r}_{ij}=(\mathbf{r}_i-\mathbf{r}_j). $$