fixed a bug in the plotting routine
Merge pull request #12 from rcaspart/master

fixed a bug in the plotting routine