Fix bug in time wrap-around
Add extra condition to predict_location_changed?
Remove cosine similarity, sse calculations