Converting sqrt to ^2