Added new markdown/latex hybrid document generator

- New document compiles with pandoc.
- Made some additions to tex doc generator