fix rref for complex matrices (issue #1869)
Merge pull request #1872 from stevengj/complex_rref

fix rref for complex matrices (issue #1869)