Optimizing the Medical Treatment Protocol for Magnetic Stimulation of Nerves