DanRW's SGP4 implementation, but clang-friendly.