Ricardo on machinery: an analysis of Ricardo's examples