removed remaining std:: functions, including sqrt, abs, and conj and exp