Role of chaotic dynamics in neural plasticity.