Manual Square Root Calculation