Added virtual destructor to class template Simulation that deletes the random number generator.