Use seconds as time unit.

Uses seconds as the internal time unit. Fixes issue #14.