updated simulation code to use latest parallellization options provided in R 3.0