Technological innovation and economic transformation a method for contextual analysis