getMatchesMatrix