Non-linear protocols for optimal distributed consensus in networks of dynamic agents.