Development of a Computational Model to Characterize the Effects and Side-Effects of Transcranial Magnetic Stimulation