making funcitons to get points for fitEllipse