fixed embedding bug & added JEC uncertainties