RMSD and radius of gyration writing ready for testing.