Added pow func
Fixed merge conflict