Added MatchConfidence (declaration + comments) + tests