VLSI array architecture for pattern analysis and image processing.