first_cal.py now iterative. runs w/o error but not sure about actual numbers