Increase available precisions for trimLabels()

trimLabels() can now trim to a variety of precisions within nanoseconds and this can be extended to greater precisions. Also added test cases for these changes.

Documented trimLabels() fully, as it does not appear likely to change in the future.