Fixed compiler error for RNG manager. Still needs testing and integration