reprogram the following functions in rms to use gpu structures for speedup: processfluxes calcradconstermratios calcbranchingnumbers