Problems with transferring Allocations in separate subroutines when running in Parallel - code will run in serial