Use RNG correctly for v-rescale thermostat