A control-theoretic approach to the synchronization of second-order continuous-time dynamical systems on real connected Riemannian manifolds