better error checking
get all pairwise correlations between the columns in two inputs matrices