Fail gracefully on lag_time <= 0
Merge pull request #337 from rmcgibbo/lag-time-0

Fail gracefully on lag_time <= 0