2D Affine
m2_affine(a, b)
a
numeric, 2: translation
b
numeric, 4: all other coefficients
matrix 3x3
m2_affine(c(2, 3), c(1, 0.5, 1, 5))