State Dependent Function And Dynamics In Cerebral Cortical Networks