Fixed parallelisation private variable problem in integration routines