A unified Fourier transform approach to electrostatics: Potentials and self-energies | Synapse