updated estimate.risk.wrap so that X.seq and YX have the same levels