Advanced optical correlators for pattern recognition and association