quantize_hue function

Find a scale mod k that matches a given hue