weighted.cor function

Weighted correlation