Persistent Homology On Time Series