Quasistatic approximation in neuromodulation