The kernel computes the patch density (PD) following FRAGSTAT implementation