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