Proper delay embedding

Added the time_delay variable so the time delay embedding is more
flexible