use trig functions from std namespace
move atan2 lookup into trig header
remove comment