stuffed everything into buckets

discretization works. also a bunch of other misc cleanups, changes, etc.
imported HSV to RGB function
aaaaand now we convert hsvs to rgbs
merged