fixed errors in class EnergyAwareRoutingTableEntry