Create class for evaluating the likelihood/posterior on a grid
Following some discussion on !375 (merged) it would be good to have a class that can be used to evaluate the likelihood or posterior at a predefined grid of points. The class could also have a method to numerically marginalise over a set of parameters.
Cc @colm.talbot