Validating prior, data, and forward

A simple way to test the validity of prior, data, and forward is to test if the following sequence can be evaluated without errors:

% Generate a realization, m, of the prior model
m=sippi_prior(prior);
% Compute the forward response
d=sippi_forward(m,forward,prior,data);
% Evaluate the log-likelihood of m
logL=sippi_likelihood(data,d);