Fully qualifying std::sqrt to fix compile errors, and removing "using" statements that are never used