fix colormatrix array types to match signature