Quantum Monte Carlo calculations applied to magnetic molecules