The growth and diffusion of knowlegde and the theory of the firm