Changed MatchTemplate arg from path to matrix