PEP8 on on test file
Fixed __repr__ for scalar factors
Merge branch 'master' into dev
Made it possible to create random variables with a number describing the domain