Better dithering, added Atkinson Dithering

Added dithering method, can now use Floyd or Atkinson.
Quant Error and pixel comparations are now done in grayscale instead of
just using the Red Channel providing much better dithering results.