A model of firm heterogeneity in factor intensities and international trade. (November 2015)