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