implement just enough of mtrand to make tests start passing
avoid dtype(object)
avoid __array_wrap__
use native ones, improve mtrand
hack type_check to always return double
Merge pull request #2 from mattip/pypy-hack

Pypy hack