persistent homology finance