added random sampling option
added defaults for new parameters
move stopifnot condition down
Merge pull request #4 from robertzk/random_sample_data

Random sample data