Topological Analysis in Monte Carlo Simulation for Uncertainty Estimation