removed some plotting to speed up simulation