Reducing Uncertainty in Wireless Sensor Networks