Inertial Navigation System (INS) implemented in Python