[FIX] made arguments and functions in BSpline2d const (if possible)

The `BSpline2d` class lacked proper const declaration, fixed in this pull request.