Effects of inhomogeneities in cerebral modeling for magnetoencephalography