updated ipython notebook, made sure all tests were working.