MTGR: FIXME Least squares function should use ellipse forumla