Matching configurations of points or features