Reputation-based cluster head elections in wireless sensor networks. (July 2013)