Removing debug, whoops!
Improving color diff algorithm for grayscale