kronecker_monomial: improvements to the exponentiation method.