test colinearity with Cayley-Menger determinant