linear perceptron learning algorithm added