Closed-Form Approximation of Weighted Centroid Localization Performance