A reconfigurable SIMD computer for artificial neural networks