modified python module to allow numpy, scipy compatiblity. next is to revert to numpy data structures for csolve