bayer

Compute the bayer matrix for powers of two. Useful for ordered dithering algorithms.