averaged perceptron with total