Tangent space embedding

Different connectivity measures, including tangent space measure
replaced by 
```
if p > floor(p):
    raise ...
```
I want to check that `p` is an integer