converted parameterSweep to multiprocessing
testing and so many tweaks