- rewrote binary scanning in matrix::pow(), stealing from CLN's expt_pos().