initial code to cross variogram