3d electromagnetic field solver