Changes feature matching to be distance based.
Converts test images from jpg to png.