How To Compute Marginal Distribution