Tangent space embedding

Different connectivity measures, including tangent space measure
mat : ndarray, shape (M, M)