Implement Catmull-Rom splines