change gamma transform matrix