added linear regression with time since previous earthquake, and simple_inverter_alarm_func which maps high machine learning model outputs to lower alarm lengths.