cythonizing d1 and d2 functions for photo-current
made the cy_expect function API more consistent
added cython d1 and d2 functions for sse homodyne
use updated api for cy_expect (now cy_expect_psi_csr)