modified DEM class to calculate extrapolated heights for points just outside DEM, minimising artefacts at tile edges