Chnage the return value of template_matching. It will return the correla...

...tion coeficient.