Numerically Stable Direct Least Squares Fitting Of Ellipses
fitting conic sections to " very scattered " data : an iterative refinement of the bookstein algorithm .