Fixed random.h
Tweaked the random, recreated some of the tests