average_perceptron working but accuracy is lower than perceptron, still needs debugging