stripped nogils. added cython profiling. __triangle_test is reason for
slowdown. doh ... :