Multiclass metrics: refactoring with vigdorchik