Added Bezier smoothing and basic spline following.