Change output of match_candidate() to use a list instead of a dict for
individual template distances.