Learn by changing input weights as function of position error