Function to fit ellipse to a set of bi-directional anotations