raaz-random fixups

- Added tests for genMax and genBetween
- Fixed bug in genMax and genBetween
- genMax now throws error for negative arguments instead of going in an infinite loop