Cleaned up ipython notebooks