A control-theoretic approach to disseminating values and overcoming malicious links in wireless networks