fix numpy referenced as np
Merge pull request #371 from bpinsard/bug/numpyimports

fix numpy referenced as np