R code for simulations - Parallel

Same as the other R code, but this one allows for parallel computing
when running the OM, which helps to speed up runs.