Self-organizing neural models of categorization, inference and synchrony