Foundations of Computational Mathematics SLIDING WINDOWS AND PERSISTENCE : AN APPLICATION OF TOPOLOGICAL METHODS TO SIGNAL ANALYSIS