checking the multiclass computation