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.
Merge pull request #60 from makoConstruct/patch-1

fixed constraints