Add rgb2hsv and hsv2rgb functions. Update Makefile accordingly.