added integer power functions