Multi-class Perceptron