pure Python implementation of the ISOMAP manifold learning algorithm with ncuts spectral clustering