https://ipython.pythonprogramminghelp.com/5-easy-fixes-to-differentials-of-functions-of-several-variables/