Calculates sqrt for each element.
Element i is calculated with the formula:
i
x[i] = sqrt(x[i]);
void sqrt();