Added a ipython notebook for flux calculations