Cleaned up code in B-spline fitting example;
Added tutorial for trimmed B-spline fitting