Added radius of gyration code.