find_beta_params function

Find beta distribution parameters from thresholds