Implements Multiclass hinge loss