working
Fix intermitant segfaults from invalid memory access
Merge pull request #293 from rmcgibbo/rmsd

Fix intermittent RMSD segfaults from invalid memory access