Switching preimage and image definitions for pivoting and adding sequential implementation of ApplyColumnPivots