Monte Carlo analysis with spatial correlations