Formation and maintenance of neuronal assemblies through synaptic plasticity