Functional image-guided neurosurgical simulation system using computerized three-dimensional graphics and dipole tracing.