added check on number of available next hops in class EnergyAwareStochasticForwardingPolicy and added missing '}' in class StandardTimer