Fix exception class bug, flatten arrays in mbb_fit_response.choice
if nsamples=1