Tangent space embedding

Different connectivity measures, including tangent space measure
If you don't write proper doctrings, make this function private. But I feel that it should rather go to a module dedicated to connectivity matrices visualization.