added function get_beta_i_mean to create structure beta_i_mean
Testing the creation of structure beta_i_mean