Measuring Comparative Advantage: A Ricardian Approach