add scale to matrix in transform.