Partial implementation of ImageAttributes for ColorMatrix.  This needs to be simplified more and is experimental.  Use at your own risk.