https://123dok.net/document/qvl1k771-computational-statistical-methods-trajectory-analysis-riemannian-geometry-setting.html