handle exception in cython functions
Merge pull request #33 from maralla/cybin_handle_exception

handle exception in cython functions