Changes in hue2rgb function