Fix divide by 0 in Pearson Coefficient Weighting