x seemed like a better function arg

x seemed like a better function arg for setInv.  Both seemed to work.