create_beta_distr function

Create a beta distribution