Fix minor bugs in the GMX writer.
Merge branch 'master' of https://github.com/IsmAvatar/LateralGM