UniqueBestMatchingUnits function

UniqueBestMatchingUnits