fixed the namespace issues for cmath functions