Python/C surface B-Spline evaluation code, with sensitivity generation