build pearson correlation for multiple vectors