FixDixonFlips[{mag,phase,real,imag}]
checks if any volumes are 180 degrees out of phase and corrects them.