mc_correl function

Monte Carlo simulation for the significance of the local correlation coefficients