add libdai::MF, and fix parameters of libdai::Gibbs
refactoring; separating common procedures in *.hxx files to be included
add nD to control panel
change visualizing marginals: unnormalized factor values to probabilities
visualize marginals as entropy