A Competitive Layer Model for Feature Binding and Sensory Segmentation