add support for nonrigidmembers in rmf files

They were not handled very well before. Close #523