In weave, use numpy's rand function (not only randn) -- see comments in #222.