type Model interface {
Observe(parameters []float64) float64}
A probabilistic model must implement interface Model. Method
Observe accepts a vector of parameters and returns the
loglikelihood. Computation of the gradient is automatically
induced through algorithmic differentiation.