Made cleaning function more robust
Added --no-pdf flag and made generated files live in same folder as source file.
Made destination folder robust to relative paths
Added the option of running pdflatex. Improved cleaning.