Assessment of two approximation methods for the inverse problem of electroencephalography