How has the understanding of cognitive factors in learning evolved since the inception of behaviorism?