Fixed bug in VotedPerceptron.