Added a Python source used to illustrate the TM model.