upgraded ComputeWeightedMean to ComputeWeightedMeans - faster and supports multiple variables