added variogram model fitting functionality