Adding code for maps of yield loss