[SPARK-2786][mllib] Python correlations

`mllib.Matrix` is column majored but `Array[Array[Double]]` is an array of rows. I think this is not correct. The error doesn't show up in the python tests because corr is symmetric.