Switch to compute_rank2().

Will try compute_rank_sparse at some point as well.