Added periodic spline (closed curve) class.