Performance Improvements

Performance has been greatly improved by removing the two inner loops
used for the detection and replacing them with a different system
whereby a section of image is removed using Range(), a subtraction
between this section and the template is performed, the resulting values
are then changes into their absolute values using abs(), all elements
within the matrix are then added up and finally the result normalised to
achieve a score.