B-spline interpolation in Julia