Fixed a bug in the radius of gyration computation.