Update PlotMod.py

Tidied code & reverted to cPickle rather than cJson. cPickle seems to have a smaller memory footprint which avoids memoryerror with massive data files, and allows pickling of (numpy array) objects, which makes things easier.