Generalized raking as described by Deville et al. (1993)