finished moving Domain from fmin to base
pep8 in rand.py