Switched to NR random number generator and improved random seed generation