Corrected two bugs with the temporal simplification function, which was not working on the trajectory basis and which was not returning the data correctly after simplification; changed the colours of the plotting function.