Avoid crashing in beta_quantile( ).
Switch to 4 cateories by default for the beta in M8_Test.
Further fix up M8b_Test and M7.