Added functionality to calculate number which raised to the power 2 and the square root of number)