made export flexible to export to multiple extra file extensions in the background without breaking existing code and to convert eps graphs into pdfs for inclusion in the latex reports when epstopdf is installed (which it should be)