Three Essays on the Sources of Gains from Trade in Quantitative Ricardian Models of International Trade