weight2rows function

Expand a weighted data frame to an equivalent unweighted