https://pythonprogramminghelp.com/scipy-2/