Repetitive transcranial magnetic stimulation ( rTMS ) is a noninvasive , safe and efficacious technique for treating various neuropsychiatric disorders , but its underlying mechanisms are poorly understood .