Added decreasing mote energy during simulation.