Scientists restore some function in the brains of dead pigs