Multiresolution Frequency Domain Technique for Electromagnetics