Split process() function into baseline/source parallelization functions
This is in preparation of reducing the required memory for the simulation buffers. There should be no functional changes in this MR -- it's just moving code around.
Edited by Andre Offringa