Modified domainDensity so that weighting factors aggregated by year for protected and unprotected areas