The Beta Random Number and Dirichlet Random Vector Generating