perceptron, multi iteration