https://graphs.pythonprogramminghelp.com/3-tips-to-inversion-theorem/