A Weighted Geometric Dilution of Precision-Based Method for Indoor Positioning System