averaged perceptron with total not avg