Wireless Sensor Networks: Evolutionary Algorithms for Optimizing Performance