Added capacity to sample all of the models. Modified normalization of posterior to allow for cases where all posteriors are 0.