Tangent space embedding

Different connectivity measures, including tangent space measure
use math.sqrt for floats