restore a subset of the rand module (#708)

* restore a subset of the rand module

* flake

* remove cleanup, go ahead and assume status will always be 1

* lighten and add power
3 files changed