Fixed gnuplot rep so that it correctly re-runs the simulation if input files have changed.