Added pow(int) method to Polynomial (both).
Added pow(int) method for Matrices (both).