Some code for the geostat prediction exercise