Finished creating an example IPython notebook and cleaned up a bunch of code.