Add direction to nearest_neighbour_mask_repair()
Improve 'Flap Lever (Synthetic)' algorithm.

Repair the resulting array to remove transitions without interpolation.
Use nearest_neighbour_mask_repair() with direction set to backward to
fill in the gaps backwards. This makes sense because we are stepping the
flap and slat at the start of transitions.