Polynomial power edit
Gauss elimination and matrix multiplication