Templetated Cross Correlation