Fix typos in simulation.cpp