Research from the University of Edinburgh has found that listening to music while running can improve people's performance when they are mentally fatigued.