Computational Mechanisms of Cognitive Growth