Couldn't find these in the docs, but for a matrix A it'd be useful to be able to calculate A^n and tr(A).