A minimum jerk approach for the motion planning of a prosthetic finger