Fix for bug
wrong factor of 3
Merge pull request #607 from SimTk/xtc-bug

Fix for xtc segfault