Translation of ttables.mac to ttables.py, and creation of a ttables.yaml for easy finding/editing trip factors