Added function to put data from parallel predict scripts back together again.