A C++ package for solving the forward problems of electroencephalography (EEG) and magnetoencephalography (MEG).