A Model of Socioemotional Flexibility at Three Time Scales | Synapse