Switched from flat noise to gaussian noise for the simulation.