Change holdingTimes calculations to use multiprocessing library