Fixes #204.  Use a more efficient algorithm for normalizing the timestamps based on a specific timeunit.
Merge pull request #232 from calrissian/timenormalize

Fixes #204.  Use a more efficient algorithm for normalizing the timestam...