fixed hideously bug where if the hue peak is on high end (purple), dist2peak is calculated incorrectly