Chain model infer_MRF example