a simple bSpline library in python