Update atc3dg_functions.py