added example of periodic b spline