[JA] Adding sqrt to the magnitude of the vectors