added dither matrices for m=3,4,8. this should now work properly