Weighted Dominating Set Algorithms for Wireless Sensor Networks