Added archiving and comb

Added hdf5 functionality and the comb potential. Also fixed a NaN bug
in calculating the virial.