Calculating potentials on the brain surface given recorded or simulated potentials on the skull surface.