Efficient Data Shapley for Weighted Nearest Neighbor Algorithms