Defining and computing curve-skeletons with medial geodesic function | Synapse