A dynamical systems approach to understanding cortical microcircuits, adaptation and plasticity induction