addnoise to magnetic config