Implementation of differentiable B-spline functions in PyTorch, with some extra features. Author: Hugo Melchers, Eindhoven University of Technology