Optical Implementation of a Self-Organizing Feature Extractor