A Flexible VLSI Processor for Fast Neural Network and Fuzzy Control Implementation