Neuronal input-output computation and mechanisms of cognition in health and disease