Began fixing sorted_points.c