Added option to use time of day encoder.

Fixes #16.
There must be a better way to mock imports in `geospatial_anomaly.py`.