Make sure that the diff is from previous time until now

I realized that the previous version is actually backwards. This would love to negative times being elapsed. 

The reason the tests passed before was that `now` was actually before `time`. I have renamed `time` to be `previous_time` to make this very clear.