perfom permutation testing on angles and distances between subgroups of two major groups.
Useful links