Added emacs exception to gitignore
Incomplete re-write of the analysis code.