loopy belief propagation in variational and mean field methods 7696598