Update g_residue_distribution.cpp