https://medium.com/@monocosmo77/how-stochastic-homogenisation-works-part1-machine-learning-784cfeeb432c