gap_handler function

Fill implicit gaps in a light logger dataset