https://medium.com/@monocosmo77/use-cases-of-moore-penrose-inverse-part3-machine-learning-d7f14fac9ebd