weighted_cor function

Weighted Pearson Correlation