Added Parallel Simulation coding