The total absolute curvature of closed curves with singularities | Synapse