https://medium.com/@monocosmo77/working-with-gaussian-random-fields-part1-machine-learning-f34e7cc5ec8d