calculate a correlation matrix with batchjobs