Calculation of a square root