Reorganized radmeth.cpp.