A New Grey-Scale Template Image Matching Algorithm Using the Cross-Sectional Histogram Correlation Method