Toolbox for the estimation of the generalized Roy model.