implemented apply_calpar() and incoorporated into test.py