Add methods to fit ellipse.