Regression option for rate_of_change added

Tried this, but it didn't make a significant improvement in results.
Retained for possible future use.