getBsplineBasis function

Compute cubic B-spline basis functions for the given wavenumbers.