Tangent space embedding

Different connectivity measures, including tangent space measure
Sorry, I still don't have the big picture, but shouldn't this function be merged with the previous one ?