Implemented unit arithmetic for raising units to powers.