pearson correlation of two multi-dim. arrays resulting as one single number