Cleaned IPython notebook.