Clarify the centroid calculation for simple line segments