A Repetitive Control Scheme Based on B-Spline Trajectories Mofdifications