minor coeff changes
dumb auto range detector
hue detect decrease to 8, bug line hack added