Update cm_compute.py