math.polynomials: add test for negative p^.
math.matrices: add error for negative m^n (and test).
sequences.extras: use either?.
use swapd in a few places.