Tangent space embedding

Different connectivity measures, including tangent space measure
Also seems a general purpose function. Could be added in visualization code