RVM

Improvements to Random number generation