Three-Dimensional Electromagnetics