derive_blfl function

Derive Baseline Flag or Last Observation Before Exposure Flag