Handle index == len(array) in closest_unmasked_val

Fixes value_at_index errors with negative slice step.
Merge branch 'master' of https://github.com/FlightDataServices/FlightDataAnalyzer