added persistent homology framework