value_change function

Identify changes in a value over time