Capital Investment and Commodity Patterns of Trade