changed simulation to read in initial data from file