fixed singularerror-causing problem in Kriging