advanced calculator with square root