Added LaTeX generation of docs in build script.
Removed unnecessary files.
Replaced the Sweet test with a template file.