Added power function.