merge.triangle.matches function

Merges outcomes with the matched set.