get rid of recursive calling in simulate
	modified:   src/systemscala/simulate.scala