Tangent space embedding

Different connectivity measures, including tangent space measure
xrange will not work with py3k