https://medium.com/@monocosmo77/use-cases-of-moore-penrose-inverse-part5-machine-learning-93f0ea0f7e8f