Calculation of Raman gain when pumping with higher-order modes