Added Power function and tests.
Moved power function in the right folder.
Fixed error caused by moving the function.
Added test to check for wrong shape in power function.
Merge pull request #1892 from Tanjay94/Power

Power