Added cython support to several basic functions. Spatial verification hypothesis testing is much faster