Update AuxiliaryFunctions.c