Numerically stable inversion approach to construct Kohn–Sham potentials for given electron densities within a Gaussian basis set framework | Synapse