Metabolic and cognitive changes in hereditary ataxia