Save state before switching to new vector math