Implemented #random_integer_sample and #random_real_sample. Updated #random_integer and #random_real to be more consistent.