Issue #36: The atan2 fuction was fixed to take 2 parameters