Got rid of warning for RNG.
Got random sampling working!