Some work on making the simulation more stable, plus messing around with parameters.