Created checkCTMconsistency.py