An Energy Distribution and Optimization Algorithm in Wireless Sensor Networks for Maritime Search and Rescue. (27th February 2013)