Are you cognitively over the hill by 40? Not according to a new Stanford study looking into when intelligence peaks.