Added python code that creates graphs in matplotlib as a replacement to ...

...plots being produced by gnuplot


I have renamed the old stats.py file to stats_old.py