Image warping using the affine transformation in Matlab