Check rate of change for sudden spikes/drops

check_rate_of_change(data, max_change)