semivariogram function

Computes the semi-variogram using a dataframe or a stars object.