renamed automatic() to rth.nthreads(), added rand documentation