Applications of Monte Carlo Methods to Finance and Insurance