A Wireless Sensor Network for Distributed Fault Management in Power Systems