ACCURATE COMPUTATION OF ELECTROMAGNETIC-FIELDS IN THE PRESENCE OF CONDUCTING AND MAGNETIC-MATERIALS