Mean Patch Distance
Conducts a Connected Component labeling and returns the mean distance between all landscape patches of the same class. Euclidean distance values multiplied with the given cellsize are returned.