Mathematical modeling of the human brain: from magnetic resonance images to finite element simulation