Algorithm for computing the smallest enclosing ellipse of points in the plane