revisions and reformatting to latex
Merge pull request #1 from knmnyn/master

revisions and reformatting to latex