Added saving and plotting to LIF simulation.