Implement ordered dithering using Bayer matrix definitions