Directx Find Closest Matching Couple