Finding Marginal Density From Weight