Added initial Monte Carlo functionality
Add average path distance function
Refactor MonteCarlo functions into a class