added the 'fast' keyword for when the timebase is monotonic. It removes the
slowness of the nearest neighbor search (with the absolute and argmin) and
replaces it with a halfpoint index and a digitize call. It cut runtime in half.