add_gaps function

Add gap periods to sensor data