Adding sim.R which covers standard tests and example data.