added gnuplot functions to module and currently working on function pdflatex_document