Fix a bug in adm kriging