An improved template matching with rotation and scale invariant

@den8017981This is incredible work - thank you for sharing!!

Would you consider pushing this to the opencv main branch? I think this could be a game changer for openCV if it were built in. The pattern matching available in mainline opencv is not nearly as robuts.