Analog VLSI Hardware implementation of a supervised learning algorithm