Update TothSimulator.java