Finished up the b-spline curve

Signed-off-by: Arné Schreuder <arn3@arn3.com>