Added dtrm_approach.py and added DTRM checks and helpers