update to Grid1d and Simulation classes