Find arc length of curve (#577)