I need help to rewrite thin() and Match_Part1 to work faster. Thin() thins the image so that all lines are 1 pixel thick. Match_Part1 moves the Verifying Image left to right and up and down to find a shift value that will line up the most line pixels.