Enhancing Positioning Accuracy Through RSS Based Ranging And Weighted Least Square Approximation