Application of Rational B-Splines to the Synthesis of Cam-Follower Motion Programs