Added profiling of doasearch.
cdef'd some theta and phi variables used in nogil section, to appease
cython3.