Updates to NumPy API calls in _Bas.c

Various functions were giving deprecation warnings on compilation, so I updated them.