A spectral method to account for variable electrical conductivity in the dilute cores of the Gas Giants | Synapse