Calculation of the dielectric permittivity profile for a nonuniform system: Application to a lipid bilayer simulation | Synapse