corrected error in radcal.py