Used to fit a best model out of the point cloud