First working version of the image matching algorithm.
Conversion to Lab colorspace, normalization, etc...