Made circle_line into a cdef function
More optimizations - core.pyx should now be all C functions