A Massively-Parallel SIMD Processor for Neural Network and Machine Vision Applications