Integrating Cognitive and Perceptual Processes in Mental Arithmetic