wt.centroid function

Weighted centroid