Fixed issue with restarted calculations, fixed bugs in reading MD files with non-unity print frequencies.