Multi-Scale Modeling for Analysis and Design of Transcranial Electric and Magnetic Brain Stimulation