trig oxygen from acos to atan2