Second-Order Consensus for Multiagent Systems With Directed Topologies and Nonlinear Dynamics