Update class statistics to accommodate multiple raster layers.