Endogenous Technical Change in Alternative Theories of Growth and Distribution