Updates to the powder image integration routines