Tangent space embedding

Different connectivity measures, including tangent space measure
all these functions used in tests should be in the test file.
you should use a random state.