evaluate_model function

Evaluate or sample from a posterior result given a model and locations