Update NumPy API

Solves #21 
Addresses deprecation warning during build by updating to NumPy API calls from NumArray originally written.