Cognitive Complexity and Analogies in Transfer Learning