adding patch for average X in Z decays - patch to replace pull #1410

adding patch for average X in Z decays