Tangent space embedding

Different connectivity measures, including tangent space measure
to me all functions that work with spd matrices should have spd in their name.

it's weird to have a function called inv that only works for spd data