Distributed Dynamics and Cognition in Large-Scale Brain Circuits