Python Inverse Tangent Function