sfXG function

Xi and Gallo conditional error spending functions