Fix problem with Prior prob and ln_prob if passing multiple samples
The changes in !400 (merged) (in c7b36e76) broke the Grid
likelihood as the prob
and ln_prob
prior methods would not work if multiple samples are passed to them. This MR fixes the problem.
cc @colm.talbot
Edited by Matthew Pitkin