fixed typos in cal.py