CALIBRATE: Stata module to calibrate survey datasets to population totals

calibrate takes a sampling weight and converts it to a calibration weight. The variables being calibrated to are listed in marginals, and the population totals used in the calibration are in a row matrix poptot.