I would like to write a function that described the coefficients of the transformation matrix of linearGradient using a transformation matrix of dimension 4x4.
linearGradient