The relationship between speed of information processing and cognitive ability