An improved row-reduction rank algorithm.

Worse than sage's rank function over a finite field, but better over Q (at
least in my tests).