Rename affine to matrix.