Added exponentiation

Added exponent support.