Endogenous growth model