add more examples to functions in 'preliminary.R,' better fix for bug in genR