phasing matrix util clean up. Write and verify commands work