I am trying to get the best fit for a set of 2D points. The points aren\'t ordered. I\'ve tried to implement polynomial regression algorithm but if there is a line with mult