Added cgr_cal.py