Added dithering to gradient tool