Fix line endings
Update ipython notebook (work in progress)