Updated affine transformation matrix class.