Mean field model for knowledge propagation and economic growth