GPGAA to ECEF functions in Python mixed C++