Added missing using std::sqrt.