Matrix transformation calculator. Calculate affine transform.