Refactors to Variogram.