Advances in magnetic stimulation. Mathematical modeling and clinical applications