How do the electromagnetic pulses used by the repeller work?