Merge pull request #8 from johnoliver/master

Add equation formatting
Merge pull request #9 from johnoliver/master

convert equations to tex
improvements