add ipython notebook for testing divergence