Added a declaration of compute_distance2boundary to montecarlo.pyx