added persistence_diagram.py and rbc_analysis/ts_dists.py