Calculation of the vibrational distribution in quenching of Na(32P) by N2, and CO