updated comments in estimate_weights