renaming tmp.py
fixing cm_compute