Added tostring method in AffineTransform2D
updated image invert method