cython begin monte carlo notes