Curve-Smoothing Techniques Using B-Splines