Small fixes while learning Numpy codebase

A couple of places fixed while learning Numpy codebase.

Please apply and thanks beforehand,
Kirill