I have several vectors that are tied to each other. Using the "time" vector as a reference, I want to be able to delete duplicate consecutive entries from the vectors (say if time1 = time2, delete time2 and the associated values in the other vectors).