Wrap Synthetic Centrelines on a Sphere

If radius is specified, the generated centreline is wrapped on a sphere.