Fixed bug in definiteIntegralAffineShift