Removed requirement for numpy.

Switched to random.random().