v4 plotting tool added

removed flot and other unnecssary files. added version 4 of the plotting
tool.