https://medium.com/@monocosmo77/how-persistent-homology-is-being-used-in-machine-learning-models-part1-43abada38d5d