fixed the formatting problems in the references section of the ipython notebook and synchronized the .py file to the .ipynb