There is something wrong when we are calculating the main diagonal for the covariance functions for polygons!
I realized the calculation of the distance matrices for the polygons can be simplified (by a lot) by using indexes instead of nested and complicated lists. I'm working on it!
There is something wrong when we are calculating the main diagonal for the covariance functions for polygons!