Changed to bounds method in affine transform, and added aspect ratio
handling for ellipse and circle fit