add cdef'd attributes declaration in Solver class
initialization done on ravel'd arrays
fix #25: add missing import_array, no more segfaults