Corrected numpy stuff.

I've weeded out some bits and bobs in the numpy tutorial to make sure
everything works.