explain why you changed from math.sqrt to np.sqrt.