Adding power function (exceptions untested.)