Write contingency table (confusion matrix) and precision to a file for each configuration of parameters