https://123dok.net/document/y8g25xwz-manifold-embedding-for-curve-registration.html