Finished main_calc.py