Begin a function to detect the zero plate edge

Also acquire a thinning algorithm to for possible future use.