Functional architectures and structured flows on manifolds: a dynamical framework for motor behavior..