GMI function

Function to compute the generalized marginal interactions associated to a hyerarchical family of marginal sets