Foundations and Methods of Stochastic Simulation: A