Topological data analysis for true step detection in periodic piecewise constant signals. (3rd October 2018)