Calculate precision for each class when allowing multiple ground truth labels