Added a pow function