fixed affine transformation bug
fixed affine transformation