Added DynamicRNG class