fix hue calculation in util.RGB_to_HSV