Examining cognitive flexibility and stability through the lens of dynamical systems | Synapse