improved python wrapper

-improved numpy -to C++ converted
-improved doc.
-many bugfixes