fixed constraints

hue constraint fixed from [0, 360] to [0, 1). Note that 1 elicits the runtime exception in the h match.

BTW I'm taking this code.