Cognitive Abilities, Schooling and Earnings: The Question of Functional Form