Replaced commons-math3 with uncommons-maths library. Resolves #1871
Added UnsafeMersenneTwistedRNG
Removed cache for exponential distribution
Minor refactoring