Electromagnetic scattering by surfaces of arbitrary shape | Synapse