Fix INFER: now behaves like impute, instead of using marginals.