Wavelet Electrodynamics II: Atomic Composition of Electromagnetic Waves