Minor updates for nnet and spatial variogram