code cleanup. added functions for pauli x/y to minus/plus transformations