inference_with_prior is a better solution
initial import
use more readible indexing into HnlZ.H
updating documentation