Efficient computation of lead field bases and influence matrix for the FEM-based EEG and MEG inverse problem | Synapse