Update simulation.cu