Add a multiclass2binary function