use Rmath for random dists