[SPARK-2359][MLlib] Correlations

Implementation for Pearson and Spearman's correlation.
Use camelCase for normal variables. We did use capital letters for matrices in MLlib but not for normal Java objects.