fixed docs a little, generated markdown version

Generated .md version and fixed latex one to be compatible with pandoc