Adding gnuplot commands to output and turning the rows of data into columns for gnuplot. Also added in a switch to turn off diffusion