BETA is now a vector instead of a single value

e.x. BETA.get(0) corresponds to the BETA value for group 0