For learning purposed affine transformations