added weighted Pearson correlation

http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient#Calculating_a_weighted_correlation
with algorithm described in: http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Weighted_incremental_algorithm