bug fixes to discrete geodesics