Added LaTeX / Markdown documentation, fixes #148