Improved plotting code for simulations. Is now more readable.