How long did legends of Virgil's magical powers remain popular