Changed ipython files to normal python files
Merge pull request #401 from AZaitzeff/optim

Changed ipython files to normal python files