time_bp_to_index function

Find the closest index to a given time in years BP