added new formats (including svg and png), runs gnuplot to generate files, refactored