Analog VLSI implementation of a feed-forward neural network