Code cleanup before ICP implementation.
Parfor'd the simulation script