Add ipython notebook

Notebook uses 2nd derivative analysis