Tidy up some documentation.
Make use of quantizeTimestamp more consistently
Update comment on quantizeArchive
Update tests.