Imported from https://github.com/cc-skuehn/Workshop_Manifold_Learning