Write discordance matrix with compare output